package com.wrapper_;

/**
 * @Author 小闽
 * @Date 2024/9/26 12:13
 * @PackageName: com.wrapper
 * @ClassName: WrapperExercise02
 * @Description: Integer类面试题
 * @Version 1.0
 */
public class WrapperExercise02 {
    public static void main(String[] args) {
        /**
         * 思考以下代码输出什么？
         */
        Integer i = new Integer(1);
        Integer j = new Integer(1);
        System.out.println(i == j);
        Integer m = 1;
        Integer n = 1;
        System.out.println(m == n);
        Integer x = 128;
        Integer y = 128;
        System.out.println(x == y);
    }
}
